ExamPlay Dark Logo
Đăng nhập

Computer Science for IGCSE & O level - Data Representation (Section 9 - No. 44)

What is the primary difference between a logical shift and an arithmetic shift?
Logical shifts involve shifting bits to the left, while arithmetic shifts shift to the right.
Arithmetic shifts preserve the sign bit, logical shifts do not.
Logical shifts are used for multiplication, arithmetic shifts are used for division.
There is no real difference; the terms are used interchangeably.

Giải thích

Arithmetic shifts preserve the sign of the number. Logical shifts ignore the sign bit.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc